/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-09-02 16:05:00
 * @LastEditTime: 2019-09-12 17:50:29
 * @LastEditors: Please set LastEditors
 */
import Vue from 'vue'
import axios from 'axios'
import App from './App.vue'
import router from './router'
import store from './store'
import BaiduMap from "vue-baidu-map";

import http from "../config/http.js"
// axios 拦截器
import '../config/axios.js'
import Vant from 'vant';
import 'vant/lib/index.css';
import 'lib-flexible/flexible'
import 'amfe-flexible/index.js'

Vue.use(BaiduMap, {
  ak: '8d6c8b8f3749aed6b1aff3aad6f40e37'
})

Vue.use(Vant);
// 对请求方式 进行全局注册
Vue.prototype.$http = http;
Vue.config.productionTip = false
Vue.prototype.$axios = axios;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')